home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 1 / MacMania 1.toast / Educational / Sciences / Chemist's Helper / background_2590.txt next >
Text File  |  1989-10-27  |  13KB  |  791 lines

  1. -- background: 2590 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 8002
  11. -- rect: left=14 top=114 right=138 bottom=79
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: NaOH
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   global acid
  23.   global dim
  24.   global top
  25.   global conc
  26.   global grav
  27.   put 1 into dim
  28.   put 2 into top
  29.   put 40.0 into conc
  30.  
  31.   dimmer2
  32.   put "Sodium Hydroxide" into acid
  33.  
  34.   set the highlight of  bkgnd button 1 to true
  35. end mouseUp
  36.  
  37.  
  38.  
  39.  
  40. -- part 2 (button)
  41. -- low flags: 00
  42. -- high flags: 8002
  43. -- rect: left=14 top=145 right=169 bottom=79
  44. -- title width / last selected line: 0
  45. -- icon id / first selected line: 0 / 0
  46. -- text alignment: 1
  47. -- font id: 0
  48. -- text size: 12
  49. -- style flags: 0
  50. -- line height: 16
  51. -- part name: KOH
  52. ----- HyperTalk script -----
  53. on mouseUp
  54.   global acid
  55.   global dim
  56.   global top
  57.   global conc
  58.   global grav
  59.   put 1 into dim
  60.   put 2 into top
  61.   put 56.11 into conc
  62.  
  63.   dimmer2
  64.   put "Potassium Hydroxide" into acid
  65.  
  66.   set the highlight of  bkgnd button 2 to true
  67. end mouseUp
  68.  
  69.  
  70.  
  71.  
  72. -- part 3 (button)
  73. -- low flags: 00
  74. -- high flags: 8002
  75. -- rect: left=96 top=114 right=139 bottom=155
  76. -- title width / last selected line: 0
  77. -- icon id / first selected line: 0 / 0
  78. -- text alignment: 1
  79. -- font id: 0
  80. -- text size: 12
  81. -- style flags: 0
  82. -- line height: 16
  83. -- part name: 0.10 M
  84. ----- HyperTalk script -----
  85.  
  86. on mouseup
  87.   global molar
  88.   global dim
  89.   global top
  90.  
  91.   put .10 into molar
  92.  
  93.   put 3 into dim
  94.   put 14 into top
  95.  
  96.   dimmer2
  97.   set the highlight of bkgnd  button 3 to true
  98.  
  99. end mouseUp
  100.  
  101.  
  102.  
  103. -- part 4 (button)
  104. -- low flags: 00
  105. -- high flags: 8002
  106. -- rect: left=96 top=138 right=163 bottom=155
  107. -- title width / last selected line: 0
  108. -- icon id / first selected line: 0 / 0
  109. -- text alignment: 1
  110. -- font id: 0
  111. -- text size: 12
  112. -- style flags: 0
  113. -- line height: 16
  114. -- part name: 0.20 M
  115. ----- HyperTalk script -----
  116. on mouseup
  117.   global molar
  118.   global dim
  119.   global top
  120.  
  121.   put .20 into molar
  122.  
  123.   put 3 into dim
  124.   put 14 into top
  125.  
  126.   dimmer2
  127.   set the highlight of bkgnd  button 4 to true
  128.  
  129. end mouseUp
  130.  
  131.  
  132.  
  133. -- part 5 (button)
  134. -- low flags: 00
  135. -- high flags: 8002
  136. -- rect: left=96 top=162 right=187 bottom=155
  137. -- title width / last selected line: 0
  138. -- icon id / first selected line: 0 / 0
  139. -- text alignment: 1
  140. -- font id: 0
  141. -- text size: 12
  142. -- style flags: 0
  143. -- line height: 16
  144. -- part name: 0.30 M
  145. ----- HyperTalk script -----
  146. on mouseup
  147.   global molar
  148.   global dim
  149.   global top
  150.  
  151.   put .30 into molar
  152.  
  153.   put 3 into dim
  154.   put 14 into top
  155.  
  156.   dimmer2
  157.   set the highlight of bkgnd  button 5 to true
  158.  
  159. end mouseUp
  160.  
  161.  
  162.  
  163. -- part 6 (button)
  164. -- low flags: 00
  165. -- high flags: 8002
  166. -- rect: left=96 top=186 right=211 bottom=155
  167. -- title width / last selected line: 0
  168. -- icon id / first selected line: 0 / 0
  169. -- text alignment: 1
  170. -- font id: 0
  171. -- text size: 12
  172. -- style flags: 0
  173. -- line height: 16
  174. -- part name: 0.40 M
  175. ----- HyperTalk script -----
  176. on mouseup
  177.   global molar
  178.   global dim
  179.   global top
  180.  
  181.   put .40 into molar
  182.  
  183.   put 3 into dim
  184.   put 14 into top
  185.  
  186.   dimmer2
  187.   set the highlight of bkgnd  button 6 to true
  188.  
  189. end mouseUp
  190.  
  191.  
  192.  
  193. -- part 7 (button)
  194. -- low flags: 00
  195. -- high flags: 8002
  196. -- rect: left=96 top=210 right=235 bottom=155
  197. -- title width / last selected line: 0
  198. -- icon id / first selected line: 0 / 0
  199. -- text alignment: 1
  200. -- font id: 0
  201. -- text size: 12
  202. -- style flags: 0
  203. -- line height: 16
  204. -- part name: 0.50 M
  205. ----- HyperTalk script -----
  206. on mouseup
  207.   global molar
  208.   global dim
  209.   global top
  210.  
  211.   put .50 into molar
  212.  
  213.   put 3 into dim
  214.   put 14 into top
  215.  
  216.   dimmer2
  217.   set the highlight of bkgnd  button 7 to true
  218.  
  219. end mouseUp
  220.  
  221.  
  222.  
  223. -- part 8 (button)
  224. -- low flags: 00
  225. -- high flags: 8002
  226. -- rect: left=96 top=234 right=259 bottom=155
  227. -- title width / last selected line: 0
  228. -- icon id / first selected line: 0 / 0
  229. -- text alignment: 1
  230. -- font id: 0
  231. -- text size: 12
  232. -- style flags: 0
  233. -- line height: 16
  234. -- part name: 0.60 M
  235. ----- HyperTalk script -----
  236. on mouseup
  237.   global molar
  238.   global dim
  239.   global top
  240.  
  241.   put .60 into molar
  242.  
  243.   put 3 into dim
  244.   put 14 into top
  245.  
  246.   dimmer2
  247.   set the highlight of bkgnd  button 8 to true
  248.  
  249. end mouseUp
  250.  
  251.  
  252.  
  253. -- part 9 (button)
  254. -- low flags: 00
  255. -- high flags: 8002
  256. -- rect: left=154 top=114 right=139 bottom=213
  257. -- title width / last selected line: 0
  258. -- icon id / first selected line: 0 / 0
  259. -- text alignment: 1
  260. -- font id: 0
  261. -- text size: 12
  262. -- style flags: 0
  263. -- line height: 16
  264. -- part name: 0.70 M
  265. ----- HyperTalk script -----
  266. on mouseup
  267.   global molar
  268.   global dim
  269.   global top
  270.  
  271.   put .70 into molar
  272.  
  273.   put 3 into dim
  274.   put 14 into top
  275.  
  276.   dimmer2
  277.   set the highlight of bkgnd  button 9 to true
  278.  
  279. end mouseUp
  280.  
  281.  
  282.  
  283. -- part 10 (button)
  284. -- low flags: 00
  285. -- high flags: 8002
  286. -- rect: left=154 top=138 right=163 bottom=213
  287. -- title width / last selected line: 0
  288. -- icon id / first selected line: 0 / 0
  289. -- text alignment: 1
  290. -- font id: 0
  291. -- text size: 12
  292. -- style flags: 0
  293. -- line height: 16
  294. -- part name: 0.80 M
  295. ----- HyperTalk script -----
  296. on mouseup
  297.   global molar
  298.   global dim
  299.   global top
  300.  
  301.   put .80 into molar
  302.  
  303.   put 3 into dim
  304.   put 14 into top
  305.  
  306.   dimmer2
  307.   set the highlight of bkgnd  button 10 to true
  308.  
  309. end mouseUp
  310.  
  311.  
  312.  
  313. -- part 11 (button)
  314. -- low flags: 00
  315. -- high flags: 8002
  316. -- rect: left=154 top=162 right=187 bottom=213
  317. -- title width / last selected line: 0
  318. -- icon id / first selected line: 0 / 0
  319. -- text alignment: 1
  320. -- font id: 0
  321. -- text size: 12
  322. -- style flags: 0
  323. -- line height: 16
  324. -- part name: 0.90 M
  325. ----- HyperTalk script -----
  326. on mouseup
  327.   global molar
  328.   global dim
  329.   global top
  330.  
  331.   put .90 into molar
  332.  
  333.   put 3 into dim
  334.   put 14 into top
  335.  
  336.   dimmer2
  337.   set the highlight of bkgnd  button 11 to true
  338.  
  339. end mouseUp
  340.  
  341.  
  342.  
  343. -- part 12 (button)
  344. -- low flags: 00
  345. -- high flags: 8002
  346. -- rect: left=154 top=186 right=211 bottom=213
  347. -- title width / last selected line: 0
  348. -- icon id / first selected line: 0 / 0
  349. -- text alignment: 1
  350. -- font id: 0
  351. -- text size: 12
  352. -- style flags: 0
  353. -- line height: 16
  354. -- part name: 1.0 M
  355. ----- HyperTalk script -----
  356. on mouseup
  357.   global molar
  358.   global dim
  359.   global top
  360.  
  361.   put 1.0 into molar
  362.  
  363.   put 3 into dim
  364.   put 14 into top
  365.  
  366.   dimmer2
  367.   set the highlight of bkgnd  button 12 to true
  368.  
  369. end mouseUp
  370.  
  371.  
  372.  
  373. -- part 13 (button)
  374. -- low flags: 00
  375. -- high flags: 8002
  376. -- rect: left=154 top=210 right=235 bottom=213
  377. -- title width / last selected line: 0
  378. -- icon id / first selected line: 0 / 0
  379. -- text alignment: 1
  380. -- font id: 0
  381. -- text size: 12
  382. -- style flags: 0
  383. -- line height: 16
  384. -- part name: 3.0 M
  385. ----- HyperTalk script -----
  386. on mouseup
  387.   global molar
  388.   global dim
  389.   global top
  390.  
  391.   put 3.0 into molar
  392.  
  393.   put 3 into dim
  394.   put 14 into top
  395.  
  396.   dimmer2
  397.   set the highlight of bkgnd  button 13 to true
  398.  
  399. end mouseUp
  400.  
  401.  
  402.  
  403. -- part 14 (button)
  404. -- low flags: 00
  405. -- high flags: 8002
  406. -- rect: left=154 top=234 right=259 bottom=213
  407. -- title width / last selected line: 0
  408. -- icon id / first selected line: 0 / 0
  409. -- text alignment: 1
  410. -- font id: 0
  411. -- text size: 12
  412. -- style flags: 0
  413. -- line height: 16
  414. -- part name: 6.0 M
  415. ----- HyperTalk script -----
  416. on mouseup
  417.   global molar
  418.   global dim
  419.   global top
  420.  
  421.   put 6.0 into molar
  422.  
  423.   put 3 into dim
  424.   put 14 into top
  425.  
  426.   dimmer2
  427.   set the highlight of bkgnd  button 14 to true
  428.  
  429. end mouseUp
  430.  
  431.  
  432.  
  433. -- part 15 (button)
  434. -- low flags: 00
  435. -- high flags: 8002
  436. -- rect: left=230 top=114 right=139 bottom=289
  437. -- title width / last selected line: 0
  438. -- icon id / first selected line: 0 / 0
  439. -- text alignment: 1
  440. -- font id: 0
  441. -- text size: 12
  442. -- style flags: 0
  443. -- line height: 16
  444. -- part name: 100 ml
  445. ----- HyperTalk script -----
  446. on mouseUp
  447.   global volume
  448.   global dim
  449.   global top
  450.   put 100 into volume
  451.  
  452.  
  453.   put 15 into dim
  454.   put 26 into top
  455.  
  456.   dimmer2
  457.   set the highlight of bkgnd  button 15 to true
  458.  
  459. end mouseUp
  460.  
  461.  
  462.  
  463. -- part 16 (button)
  464. -- low flags: 00
  465. -- high flags: 8002
  466. -- rect: left=230 top=137 right=162 bottom=289
  467. -- title width / last selected line: 0
  468. -- icon id / first selected line: 0 / 0
  469. -- text alignment: 1
  470. -- font id: 0
  471. -- text size: 12
  472. -- style flags: 0
  473. -- line height: 16
  474. -- part name: 200 ml
  475. ----- HyperTalk script -----
  476. on mouseUp
  477.   global volume
  478.   global dim
  479.   global top
  480.   put 200 into volume
  481.  
  482.  
  483.   put 15 into dim
  484.   put 26 into top
  485.  
  486.   dimmer2
  487.   set the highlight of bkgnd  button 16 to true
  488.  
  489. end mouseUp
  490.  
  491.  
  492.  
  493. -- part 17 (button)
  494. -- low flags: 00
  495. -- high flags: 8002
  496. -- rect: left=230 top=161 right=186 bottom=289
  497. -- title width / last selected line: 0
  498. -- icon id / first selected line: 0 / 0
  499. -- text alignment: 1
  500. -- font id: 0
  501. -- text size: 12
  502. -- style flags: 0
  503. -- line height: 16
  504. -- part name: 300 ml
  505. ----- HyperTalk script -----
  506. on mouseUp
  507.   global volume
  508.   global dim
  509.   global top
  510.   put 300 into volume
  511.  
  512.  
  513.   put 15 into dim
  514.   put 26 into top
  515.  
  516.   dimmer2
  517.   set the highlight of bkgnd  button 17 to true
  518.  
  519. end mouseUp
  520.  
  521.  
  522.  
  523. -- part 18 (button)
  524. -- low flags: 00
  525. -- high flags: 8002
  526. -- rect: left=230 top=185 right=210 bottom=289
  527. -- title width / last selected line: 0
  528. -- icon id / first selected line: 0 / 0
  529. -- text alignment: 1
  530. -- font id: 0
  531. -- text size: 12
  532. -- style flags: 0
  533. -- line height: 16
  534. -- part name: 400 ml
  535. ----- HyperTalk script -----
  536. on mouseUp
  537.   global volume
  538.   global dim
  539.   global top
  540.   put 400 into volume
  541.  
  542.  
  543.   put 15 into dim
  544.   put 26 into top
  545.  
  546.   dimmer2
  547.   set the highlight of bkgnd  button 18 to true
  548.  
  549. end mouseUp
  550.  
  551.  
  552.  
  553. -- part 19 (button)
  554. -- low flags: 00
  555. -- high flags: 8002
  556. -- rect: left=230 top=209 right=234 bottom=289
  557. -- title width / last selected line: 0
  558. -- icon id / first selected line: 0 / 0
  559. -- text alignment: 1
  560. -- font id: 0
  561. -- text size: 12
  562. -- style flags: 0
  563. -- line height: 16
  564. -- part name: 500 ml
  565. ----- HyperTalk script -----
  566. on mouseUp
  567.   global volume
  568.   global dim
  569.   global top
  570.   put 500 into volume
  571.  
  572.  
  573.   put 15 into dim
  574.   put 26 into top
  575.  
  576.   dimmer2
  577.   set the highlight of bkgnd  button 19 to true
  578.  
  579. end mouseUp
  580.  
  581.  
  582.  
  583. -- part 20 (button)
  584. -- low flags: 00
  585. -- high flags: 8002
  586. -- rect: left=230 top=233 right=258 bottom=289
  587. -- title width / last selected line: 0
  588. -- icon id / first selected line: 0 / 0
  589. -- text alignment: 1
  590. -- font id: 0
  591. -- text size: 12
  592. -- style flags: 0
  593. -- line height: 16
  594. -- part name: 600 ml
  595. ----- HyperTalk script -----
  596. on mouseUp
  597.   global volume
  598.   global dim
  599.   global top
  600.   put 600 into volume
  601.  
  602.  
  603.   put 15 into dim
  604.   put 26 into top
  605.  
  606.   dimmer2
  607.   set the highlight of bkgnd  button 20 to true
  608.  
  609. end mouseUp
  610.  
  611.  
  612.  
  613. -- part 21 (button)
  614. -- low flags: 00
  615. -- high flags: 8002
  616. -- rect: left=288 top=114 right=139 bottom=347
  617. -- title width / last selected line: 0
  618. -- icon id / first selected line: 0 / 0
  619. -- text alignment: 1
  620. -- font id: 0
  621. -- text size: 12
  622. -- style flags: 0
  623. -- line height: 16
  624. -- part name: 700 ml
  625. ----- HyperTalk script -----
  626. on mouseUp
  627.   global volume
  628.   global dim
  629.   global top
  630.   put 700 into volume
  631.  
  632.  
  633.   put 15 into dim
  634.   put 26 into top
  635.  
  636.   dimmer2
  637.   set the highlight of bkgnd  button 21 to true
  638.  
  639. end mouseUp
  640.  
  641.  
  642.  
  643. -- part 22 (button)
  644. -- low flags: 00
  645. -- high flags: 8002
  646. -- rect: left=288 top=137 right=162 bottom=347
  647. -- title width / last selected line: 0
  648. -- icon id / first selected line: 0 / 0
  649. -- text alignment: 1
  650. -- font id: 0
  651. -- text size: 12
  652. -- style flags: 0
  653. -- line height: 16
  654. -- part name: 800 ml
  655. ----- HyperTalk script -----
  656. on mouseUp
  657.   global volume
  658.   global dim
  659.   global top
  660.   put 800 into volume
  661.  
  662.  
  663.   put 15 into dim
  664.   put 26 into top
  665.  
  666.   dimmer2
  667.   set the highlight of bkgnd  button 22 to true
  668.  
  669. end mouseUp
  670.  
  671.  
  672.  
  673. -- part 23 (button)
  674. -- low flags: 00
  675. -- high flags: 8002
  676. -- rect: left=288 top=161 right=186 bottom=347
  677. -- title width / last selected line: 0
  678. -- icon id / first selected line: 0 / 0
  679. -- text alignment: 1
  680. -- font id: 0
  681. -- text size: 12
  682. -- style flags: 0
  683. -- line height: 16
  684. -- part name: 900 ml
  685. ----- HyperTalk script -----
  686. on mouseUp
  687.   global volume
  688.   global dim
  689.   global top
  690.   put 900 into volume
  691.  
  692.  
  693.   put 15 into dim
  694.   put 26 into top
  695.  
  696.   dimmer2
  697.   set the highlight of bkgnd  button 23 to true
  698.  
  699. end mouseUp
  700.  
  701.  
  702.  
  703. -- part 24 (button)
  704. -- low flags: 00
  705. -- high flags: 8002
  706. -- rect: left=288 top=185 right=210 bottom=347
  707. -- title width / last selected line: 0
  708. -- icon id / first selected line: 0 / 0
  709. -- text alignment: 1
  710. -- font id: 0
  711. -- text size: 12
  712. -- style flags: 0
  713. -- line height: 16
  714. -- part name: 1000 ml
  715. ----- HyperTalk script -----
  716. on mouseUp
  717.   global volume
  718.   global dim
  719.   global top
  720.   put 1000 into volume
  721.  
  722.  
  723.   put 15 into dim
  724.   put 26 into top
  725.  
  726.   dimmer2
  727.   set the highlight of bkgnd  button 24 to true
  728.  
  729. end mouseUp
  730.  
  731.  
  732.  
  733. -- part 25 (button)
  734. -- low flags: 00
  735. -- high flags: 8002
  736. -- rect: left=288 top=209 right=234 bottom=347
  737. -- title width / last selected line: 0
  738. -- icon id / first selected line: 0 / 0
  739. -- text alignment: 1
  740. -- font id: 0
  741. -- text size: 12
  742. -- style flags: 0
  743. -- line height: 16
  744. -- part name: 2000 ml
  745. ----- HyperTalk script -----
  746. on mouseUp
  747.   global volume
  748.   global dim
  749.   global top
  750.   put 2000 into volume
  751.  
  752.  
  753.   put 15 into dim
  754.   put 26 into top
  755.  
  756.   dimmer2
  757.   set the highlight of bkgnd  button 25 to true
  758.  
  759. end mouseUp
  760.  
  761.  
  762.  
  763. -- part 26 (button)
  764. -- low flags: 00
  765. -- high flags: 8002
  766. -- rect: left=288 top=233 right=258 bottom=347
  767. -- title width / last selected line: 0
  768. -- icon id / first selected line: 0 / 0
  769. -- text alignment: 1
  770. -- font id: 0
  771. -- text size: 12
  772. -- style flags: 0
  773. -- line height: 16
  774. -- part name: 5000 ml
  775. ----- HyperTalk script -----
  776. on mouseUp
  777.   global volume
  778.   global dim
  779.   global top
  780.   put 5000 into volume
  781.  
  782.  
  783.   put 15 into dim
  784.   put 26 into top
  785.  
  786.   dimmer2
  787.   set the highlight of bkgnd  button 26 to true
  788.  
  789. end mouseUp
  790.  
  791.